<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template index/header}

<div class="table-list" id="load_priv">
    <table width="100%" cellspacing="0" id="dnd-example">
        <tbody>
            <tr>
                <th>拒绝原因：</th>
                <td><textarea name="notes" id="notes" class="input_txt" style="height: 60px; width: 86%;"></textarea></td>
            </tr>
        </tbody>
    </table>
    <div class="btn submit-btn"><input type="button" id="dosubmit" class="button" name="dosubmit" value="确定"/></div>
</div>

<script>
    $().ready(function(){
        $('#dosubmit').click(function(){
            var notes = $('#notes').val();
            if(notes.length < 2)
            {
                alert('请填写正确的拒绝原因！');
                return false;
            }
            $.get(location.href + '&notes=' + notes,function(){
                //parent.artdialog.close();
                parent.location.reload();
            });
        });
    });
</script>

{template index/footer}